package com.example.oppotest.mapper;

import com.example.oppotest.entity.youku.AdInfo;
import com.example.oppotest.entity.youku.Effpoint;
import com.example.oppotest.entity.youku.youkuCount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author wyk
 * @Date: 2025/2/26 22:21
 */

@Repository
public interface EffpointMapper {

    public List<youkuCount> selectyoukuCountAll();

    public youkuCount selectyoukuCount(Map<String, String> map);

    public int insertyoukuCount(youkuCount youkuCount);

    public int updateyoukuCount(youkuCount youkuCount);

    public List<AdInfo> selectAdInfo();

    public int insertAdInfo(AdInfo adInfo);

    public List<Effpoint> selectEffpoint();

    public Effpoint selectEffpointLimit(@Param(value = "id") Integer id);

    public int selectMaxEff();

    public int insertEffpoint(Effpoint effpoint);

    public int updateEffpoint(Effpoint effpoint);

}
